﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNewTemplet.aspx.cs" Inherits="sysadmin_NewManager_AddNewTemplet" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>添加下载信息</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" language="javascript">
    function openUploadFile(ID)
    {
      window.location="uploadFile.aspx?ID="+ID ;
    }
    </script>
</head>
<body class="bodymain">
    <form id="form1" runat="server" >
        <table width="100%" border="0"  cellpadding="0" cellspacing="0" class="tree-titbg_right">
            <tr>
                <td class="tree-titbg_left">
                    添加模板
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList2">
            <tr><td colspan="4" class=" titlefont">
                 上传模板文件</td></tr>
            <tr id="tr_url" runat="server">
                <th>
                    模板文件</th>
                <td>
                    <asp:TextBox ID="txt_Url" runat="server" Width="360px"></asp:TextBox><a href="#" onclick="openUploadFile(<%=ID.ToString() %>)">上传文件</a>
                    <asp:RequiredFieldValidator ID="rfv_txt_Url" runat="server" ErrorMessage="*" ControlToValidate="txt_Url"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <th>
                    模板名称</th>
                <td>
                    <asp:TextBox ID="txt_Name" runat="server" Width="360px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfv_txt_Name" runat="server" ErrorMessage="*"
                        ControlToValidate="txt_Name"></asp:RequiredFieldValidator>
                    <asp:Label ID="lbl_AddD_msg_txt_Name" runat="server" Text="" ForeColor="Red"></asp:Label></td>
            </tr>
        
<%--            
            <tr>
                <th>
                    <asp:Label ID="lbl_DownloadPictureUrl" runat="server" Text=""></asp:Label></th>
                <td colspan="3">
                    <radU:RadProgressManager ID="Radprogressmanager2" Width="100%" runat="server" />
                    <radU:RadProgressArea ID="progressArea2" Width="100%" runat="server">
                    </radU:RadProgressArea>
                    <br />
                    <asp:FileUpload ID="FileUpload2" runat="server" Width="80%"  />
                    <asp:Label ID="lbl_DownloadPictureUrl_intro" runat="server" Text=""></asp:Label>
                    </td>
            </tr> 
            
--%>                 
            <tr>
                <td colspan="2" class="tree-bottom-bg">
                    <asp:Button ID="btnSave" runat="server" Text="添加" CssClass="inputBotton2" OnClick="btnSave_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnReset" runat="server" Text="返回" CssClass="inputBotton2" OnClick="btnReset_Click" CausesValidation="False" /></td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
               <td colspan="3">
                    &nbsp;&nbsp;<asp:Label ID="lbl_msg_Error" runat="server" Text="" ForeColor="red"></asp:Label>

            </tr>
        </table>
    </form>
</body>
</html>
